<?php

class m110726_072447_attachment_hide extends CDbMigration
{
	public function safeUp()
	{		
		$this->addColumn('dycrm_attachment', 'hidden', 'boolean');
		$this->update('dycrm_attachment', array('hidden'=>'0'));
	}

	public function safeDown()
	{
		$this->dropColumn('dycrm_attachment', 'hidden');
	}
}